A graded dependent type system with a usage-aware semantics

نویسندگان

چکیده

Graded Type Theory provides a mechanism to track and reason about resource usage in type systems. In this paper, we develop GraD, novel version of such graded dependent system that includes functions, tensor products, additive sums, unit type. Since standard operational semantics is resource-agnostic, heap-based prove soundness theorem shows correct accounting usage. Several useful properties, including the theorem, non-interference irrelevant resources computation single pointer property for linear resources, can be derived from theorem. We hope our work will provide base integrating linearity, irrelevance types practical programming languages like Haskell.

برای دانلود باید عضویت طلایی داشته باشید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A type system with usage aspects

Linear typing schemes can be used to guarantee non-interference and so the soundness of in-place update with respect to a functional semantics. But linear schemes are restrictive in practice, and more restrictive than necessary to guarantee soundness of in-place update. This limitation has prompted research into static analysis and more sophisticated typing disciplines to determine when in-plac...

متن کامل

a new type-ii fuzzy logic based controller for non-linear dynamical systems with application to 3-psp parallel robot

abstract type-ii fuzzy logic has shown its superiority over traditional fuzzy logic when dealing with uncertainty. type-ii fuzzy logic controllers are however newer and more promising approaches that have been recently applied to various fields due to their significant contribution especially when the noise (as an important instance of uncertainty) emerges. during the design of type- i fuz...

15 صفحه اول

A graded approach to database repair by context-aware distance semantics

The problem of inconsistent information in databases often arises in the context of data integration and data exchange. In these areas the common assumption is that the real world is consistent, thus an inconsistent database does not correspond to any reliable state and it needs to be “repaired” according to a chosen policy. Many of these policies have to deal with the problem of an exponential...

متن کامل

Grid-price-dependent Energy Management of a Building Supplied by a Multisource System Integrated with Hydrogen

This paper studies power management in a grid-tied hybrid energy system consisting of photovoltaic array, wind turbine, fuel cell, electrolyzer, hydrogen storage tank and a combinational heating system to supply the thermal and electrical demand of a building. Moreover, the hybrid system is capable of exchanging power with local grid. Thus, variable daily buying and selling tariffs are also tak...

متن کامل

A type assignment system for game semantics

We present a type assignment system that provides a finitary interpretation of lambda terms in a game semantics model. Traditionally, type assignment systems describe the semantic interpretation of terms in domain theoretic models. Quite surprisingly, the type assignment system presented in this paper is very similar to the traditional ones, the main difference being the omission of the subtypi...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2021

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3434331